package com.wangyang.stock.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee implements java.io.Serializable {

	// Fields

	private Integer employeeId;
	private Employment employment;
	private String employeeName;
	private String employeeTel;
	private String employeeAdd;
	private String employeeMemo;
	private String employeePermission;
	private Integer isOper;
	private Set operators = new HashSet(0);
	private Set storehouses = new HashSet(0);
	private Set invoices = new HashSet(0);

	// Constructors

	/** default constructor */
	public Employee() {
	}

	public Employee(Integer employeeId) {
		this.employeeId = employeeId;
	}

	/** full constructor */
	public Employee(Employment employment, String employeeName,
			String employeeTel, String employeeAdd, String employeeMemo,
			String employeePermission, Integer isOper, Set operators,
			Set storehouses, Set invoices) {
		this.employment = employment;
		this.employeeName = employeeName;
		this.employeeTel = employeeTel;
		this.employeeAdd = employeeAdd;
		this.employeeMemo = employeeMemo;
		this.employeePermission = employeePermission;
		this.isOper = isOper;
		this.operators = operators;
		this.storehouses = storehouses;
		this.invoices = invoices;
	}

	// Property accessors

	public Integer getEmployeeId() {
		return this.employeeId;
	}

	public void setEmployeeId(Integer employeeId) {
		this.employeeId = employeeId;
	}

	public Employment getEmployment() {
		return this.employment;
	}

	public void setEmployment(Employment employment) {
		this.employment = employment;
	}

	public String getEmployeeName() {
		return this.employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getEmployeeTel() {
		return this.employeeTel;
	}

	public void setEmployeeTel(String employeeTel) {
		this.employeeTel = employeeTel;
	}

	public String getEmployeeAdd() {
		return this.employeeAdd;
	}

	public void setEmployeeAdd(String employeeAdd) {
		this.employeeAdd = employeeAdd;
	}

	public String getEmployeeMemo() {
		return this.employeeMemo;
	}

	public void setEmployeeMemo(String employeeMemo) {
		this.employeeMemo = employeeMemo;
	}

	public String getEmployeePermission() {
		return this.employeePermission;
	}

	public void setEmployeePermission(String employeePermission) {
		this.employeePermission = employeePermission;
	}

	public Integer getIsOper() {
		return this.isOper;
	}

	public void setIsOper(Integer isOper) {
		this.isOper = isOper;
	}

	public Set getOperators() {
		return this.operators;
	}

	public void setOperators(Set operators) {
		this.operators = operators;
	}

	public Set getStorehouses() {
		return this.storehouses;
	}

	public void setStorehouses(Set storehouses) {
		this.storehouses = storehouses;
	}

	public Set getInvoices() {
		return this.invoices;
	}

	public void setInvoices(Set invoices) {
		this.invoices = invoices;
	}

}